// let obj = {
// 	* generator() {
// 		console.log('Genrator函数');
// 		return 'hello'
// 	}
// };
// console.log(obj.generator); //[GeneratorFunction: generator]

let obj = {
	generator: function*() {
		console.log('Genrator函数');
		return 'hello'
	}
}
console.log(obj.generator); //[GeneratorFunction: generator]
